<?php

namespace frontend\modules\business\controllers;

use common\models\business\BusinessPig;
use frontend\controllers\BaseMobileController;
use yii\helpers\Url;


/**
 * 仅仅为了兼容以前生成的二维码，做跳转用的
 */
class PigController extends BaseMobileController
{
    public $layout = false;

    /**
     * Renders the index view for the module
     * @return string
     */
    public function actionDetail($pigno)
    {
        return $this->redirect(Url::to(['/shop/site/from','pigid'=>$pigno]));

    }


}